<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>sjg hello</title>
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <script src="/static/js/jquery.min.js"></script>
    <script src="/static/js/popper.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
    <ul class="navbar-nav">
        <li class="nav-item">
            <a class="nav-link" href="#">sjg1</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="#">sjg2</a>
        </li>

                <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#">other</a>
            <div class="dropdown-menu">
                <a class="dropdown-item" href="#">link1</a>
                <a class="dropdown-item" href="#">link2</a>
            </div>
        </li>

    </ul>
    <ul class="navbar-nav ml-auto">
        <li class="nav-item">
            <a class="nav-link" href="#">sjg1000</a>
        </li>
    </ul>
</nav>

<div class="modal fade" id="sjgmodal">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title">notice</h4>
                <button type="button" class="close" data-dismiss="modal">&times;</button>
            </div>
            <div class="modal-body">
                <p>确认删除？</p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary">确认</button>
                <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</div>

<div class="container">
    <div class="row">
        <div class="col">
            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#sjgmodal">sjgmodalopen</button>
        </div>
        <div class="col">
            <table class="table table-bordered table-hover">
                <thead>
                <tr>
                    <th>name</th>
                    <th>age</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td>SJG1</td>
                    <td>30</td>
                </tr>
                <tr>
                    <td>SJG2</td>
                    <td>30</td>
                </tr>
                <tr>
                    <td>SJG3</td>
                    <td>30</td>
                </tr>
                </tbody>
            </table>
        </div>
        <div class="col">.col</div>
    </div>
</div>
</body>
</html>